<template>
	<view>
		<view class="top1">
			<view @click="fh" class="right_arrow1"></view>
			<text  class="top2">设置</text>
		</view>
	    <view class="item">
	        <text>授权定位</text>
			<text class="xz">未开启</text>
	        <view class="right_arrow"></view>
	    </view>
	    <view class="item">
	        <text>自动播放视频</text>
			<text class="xz">仅WiFi</text>
	        <view class="right_arrow"></view>
	    </view>
	    <view class="item">
	        <text>隐私</text>
	        <view class="right_arrow"></view>
	    </view>
		<view class="item">
			<text>关于</text>
			<view class="right_arrow"></view>
		</view>
		<view class="item">
			<text>清除缓存</text>
			<text class="xz">1.31M</text>
			<view class="right_arrow"></view>
		</view>
	    <view class="item">
	        <text>反馈与建议</text>
	        <view class="right_arrow"></view>
	    </view>
		
		<view style="background-color: #F95738;width: 100%;
		  height: 120rpx;
		  position:fixed;
		  bottom: 0;
		  display:flex;
		  flex-direction:row;
		  justify-content:flex-start;">
		   <view @click="gotohome" id="button1">
		   <image src="/static/home.png" style="width: 60rpx;height: 60rpx;margin-left: 50rpx;margin-top: 10rpx;"></image>
		   <view style="margin-left: 47rpx;font-weight: 900;">首页</view>
		   </view>
		   <view @click="gotozf" id="button2">
		   <image src="/static/zf.png" style="width: 60rpx;height: 60rpx;margin-left: 230rpx;margin-top: 10rpx;"></image>
		   <view style="margin-left: 190rpx;font-weight: 900;">一键转发</view>
		   </view>
		   <view @click="gotomy" id="button3">
		   <image src="/static/me.png" style="width: 60rpx;height: 60rpx;margin-left: 170rpx;margin-top: 10rpx;"></image>
		   <view style="margin-left:170rpx;font-weight: 900;">我的</view>
		   </view>
		</view>
		
	</view>
	
	
</template>

<script>
	export default{
		methods:{
			gotohome(){
				uni.navigateTo({
					url:"/pages/index/index"
				})
			},
			gotozf(){
				uni.navigateTo({
					url:"/pages/zf/zf"
				})
			},
			gotomy(){
				uni.navigateTo({
					url:"/pages/my/my"
				})
			},
			fh(){
				uni.navigateBack({
					url:"/pages/my/my"
				})
			}
			
		}
	}
</script>

<style>
	.top1{
		width: 100%;
		height: 130rpx;
		background-color: #F95738;	
		/* position:fixed; */
		display:flex;
		flex-direction:row;
		justify-content:flex-start;
	}
	.right_arrow1{
	    border:  solid white;
	    border-width: 5px 0 0 5px;
	    padding: 15rpx;
	    position: absolute;
		top:70rpx;
	    left: 45rpx;
	    transform: rotate(-45deg);
	    -webkit-transform:rotate(-45deg) ;
	}
	.top2{
		font-size: 45rpx;
		font-weight: bold;
		position: absolute;
		margin-top: 55rpx;
		margin-left: 95rpx;
	}
	/* 用css画一个箭头 */
	.right_arrow{
	    border:  solid black;
	    border-width: 0 3px 3px 0;
	    padding: 10rpx;
	    position: absolute;
	    right: 70rpx;
	    transform: rotate(-45deg);
	    -webkit-transform:rotate(-45deg) ;
	}
	
	.item{
	    display: flex;
	    padding: 60rpx;
	    background: white;
	    align-items: center;
	    border-bottom: 2rpx solid #cccccc;
		font-weight: bold;
		font-size: 45rpx;
	}
	.xz{
		position: absolute;
		font-size: 35rpx;
		color: black;
		margin-left: 470rpx;
		font-weight: 100;
		
	}
</style>